package com.ljd.gulimall.ware.feign;

import com.ljd.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Description TODO
 * @Author 23817
 * @Date 12:22 2023/2/18
 * @Version 1.0
 */
@Component
@FeignClient("gulimall-product")
public interface ProductFeign {

    @GetMapping("/product/skuinfo/info/{skuId}")
    public R SkuInfo(@PathVariable("skuId") Long skuId);
}
